package com.cr.crsystem.system.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * @Author su
 * @Date 2022/6/26 20:22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "RentCarVo对象", description = "")
public class RentCarVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;

    @ApiModelProperty(value = "用户ID")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "品牌")
    @TableField("brand")
    private String brand;

    @ApiModelProperty(value = "座位数")
    @TableField("seating_capacity")
    private String seatingCapacity;

    @ApiModelProperty(value = "价格")
    @TableField("price")
    private String price;

    @ApiModelProperty(value = "年份")
    @TableField("year")
    private String year;

    @ApiModelProperty(value = "详情")
    @TableField("detail")
    private String detail;

    @ApiModelProperty(value = "颜色")
    @TableField("color")
    private String color;

    @ApiModelProperty(value = "图片")
    @TableField("image")
    private String image;

    @ApiModelProperty(value = "空闲时间开始")
    @TableField("rental_end")
    private String rentalEnd;

    @ApiModelProperty(value = "空闲时间结束")
    @TableField("rental_start")
    private String rentalStart;

    @ApiModelProperty(value = "出租状态")
    @TableField("is_rent")
    private String isRent;



    @ApiModelProperty(value = "出租ID")
    @TableId(value = "rent_id")
    private Integer rentId;

    @ApiModelProperty(value = "汽车ID")
    @TableField("car_id")
    private Integer carId;

    @ApiModelProperty(value = "联系人")
    @TableField("contact")
    private String contact;

    @ApiModelProperty(value = "联系人电话")
    @TableField("contact_phone")
    private String contactPhone;

    @ApiModelProperty(value = "开始出租时间")
    @TableField("start_time")
    private String startTime;

    @ApiModelProperty(value = "结束出租时间")
    @TableField("end_time")
    private String endTime;

    @ApiModelProperty(value = "当前状态")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "真实姓名")
    @TableField("real_name")
    private String realName;






}
